package im.oen.gui.tools.constant;

import java.awt.*;

/**
 * @author Kevin.Xu
 */
public class Const {

    public static final int SCREEN_WIDTH;
    public static final int SCREEN_HEIGHT;

    public static final int SCREEN_CENTER_X;
    public static final int SCREEN_CENTER_Y;

    static {
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();

        SCREEN_WIDTH = screenSize.width;
        SCREEN_HEIGHT = screenSize.height;

        SCREEN_CENTER_X = SCREEN_WIDTH / 2;
        SCREEN_CENTER_Y = SCREEN_HEIGHT / 2;
    }
}
